﻿using Basic.FormRemoteModel.QueryForm;
using Basic.FormRemoteModel.QueryForm.Model;
using Basic.UserFormService.Interface;
using WeDonekRpc.Client.Interface;

namespace Basic.UserFormService.RpcEvent
{
    internal class PhysicsQueryBodyEvent : IRpcApiService
    {
        private IPhysicsQueryBodyService _Service;

        public PhysicsQueryBodyEvent(IPhysicsQueryBodyService service)
        {
            this._Service = service;
        }

        public QueryFormBody GetQueryFormBody(GetQueryFormBody obj)
        {
            return _Service.Get(obj.Id);
        }
    }
}
